POV-Ray : Newsgroups : povray.text.scene-files : what kind of language is it? : Re: what kind of language is it? Server Time
2 Jul 2024 03:14:25 EDT (-0400)
  Re: what kind of language is it?  
From: Warp
Date: 17 Jul 2002 12:11:34
Message: <3d359736@news.povray.org>
Christian Parpart <cpa### [at] surakwarenet> wrote:
> Well, as of the documentation it's a scene-describing-language.
> That's IMHO kind of markup language (please correct me).
> Though, it's no programming language, such as C, C++, or Pascal, is it?

  No, it's not a markup language. It's a scripting language.
  By all means the POV-Ray SDL is a programming language (eg. it's
Turing-strong).

  Of course the POV-Ray SDL has basically two parts: The scene description
part and the scripting part. Roughly speaking, any command starting with #
is a scripting command (although there are exceptions to this, eg. #default).
  The scripting commands are used to create scene description. The scene
description is what creates the scene.
  If you are not using scripting commands at all, then it might not be
considered "programming" because you are simply describing the scene,
without making any script which generates the scene.
  However, for example my signature is a good example of programming with
the POV-Ray SDL.

> (what do you 
> say in HTML?) is it programming? isn't it?

  No, you don't program HTML because HTML is not a programming language.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.